package net.qhzw.vip.qiyu.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.qhzw.vip.qiyu.entity.DtsCarTransfer;

import java.util.Date;

/**
 * @title: TransferDto
 * @Author zhang
 * @Date: 2022/9/16 12:56
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransferDto {

    private Long id;
    private int status;
    private int isPay;
    private String transferOpinion;
    private Date transferTime;


    public TransferDto(DtsCarTransfer dtsCarTransfer) {
        this.id = dtsCarTransfer.getId();
        this.status = dtsCarTransfer.getStatus();
        this.isPay = dtsCarTransfer.getIsPay();
        this.transferOpinion = dtsCarTransfer.getTransferOpinion();
        this.transferTime = dtsCarTransfer.getTransferTime();
    }

}
